package top.linuyx.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.Date;
import java.io.Serializable;

/**
 * @Author Linuyx
 * @Description commodity_image表
 * @Date Created in 2021-04-07 22:12
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@TableName("commodity_image")
public class CommodityImageEntity extends BaseEntity implements Serializable {

    /**
     * 图片名称+后缀
     */
    private String name;

    /**
     * 商品id(关联图片所属商品)
     */
    private Long commodityId;

}
